package com.cn.qtms.entity.vo.common;//类注释设置模板

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;

/**
 * @Name:Attachment
 * @Description:
 * @Author: zhangyang
 * @Date: 2019-12-25 19:03
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Attachment {
    @JsonSerialize(using = ToStringSerializer.class)
    private  Long id;
    private String relatedTable;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long relatedId;
    private String fileName;
    private String originalName;
    private String suffix;
    private String fileType;
}
